|
FILL MATRIX
This command will set each grid square in the matrix to a specified height and tile number.
FILL MATRIX Matrix Number, Height, Tile Number
Matrix Number
Integer
The matrix number
Height
Float
The height should be a real number
Tile Number
Integer
The tile number must be a valid texture tile
This command does not return a value.
The matrix number should be an integer value. The height should be a real number. The tile number must be a valid texture tile allocated by the PREPARE MATRIX TEXTURE command and should be an integer value.
ink rgb(255,255,255),0
position camera 0,300,0
autocam off
make matrix 1,1000,1000,25,25
fill matrix 1,rnd(50),1
position matrix 1,0,0,0
update matrix 1
do
loop
if matrix exist(1)=1 then delete matrix 1
end
MATRIX Commands Menu
Index
|